#ifndef DEFINES_H
#define DEFINES_H

#define SCREEN_WIDTH	640
#define SCREEN_HEIGHT	480
#define SCREEN_BPP		16

#define CHATWND_WIDTH	355
#define CHATWND_HEIGHT	445

#define RED(x) (x & 0xff0000) >> 16
#define GRN(x) (x & 0x00ff00) >> 8
#define BLU(x) (x & 0x0000ff) >> 0
#define COMBINE(x, y, z) (x << 16) + (y << 8) + z

#define HUPBUTTON	0x00000001
#define HDOWNBUTTON	0x00000002
#define HSCROLLBAR	0x00000004

#endif